Ucfirst ($STR)strconverts the first character (if the first character is a letter) to an uppercase letter, and returns the string.Source is located in Ext/standard/string.c1 /*{{{ php_ucfirst2 Uppercase the first character of the word in a native
Instance
Convert the first character of "Hello" to uppercase:
Definition and usage
The Ucfirst () function converts the first character in a string to uppercase.
Related functions:
Lcfirst ()-Converts the first character in a string to
Summary of commonly used string formatting functions in PHP, php functions. Summary of common string formatting functions in PHP. the formatting of php function strings is to process strings in a specific format. Generally, the data submitted to the
There are a lot of string functions in PHP Oh, it is said that PHP is composed of functions, which allows developers to speed up the development of the site Oh, well, crap don't say much. Let's take a look at my friends for free PHP string function
The format of a string is the processing of a string into a particular format. Usually the data that the user gives to the server from the form is in the form of strings, and in order to achieve the desired output, the strings need to be processed
PHP built-in function example tutorial, built-in function instance tutorial
Uppercase and lowercase conversion related functionsStrtolower ()Strtoupper ()Ucfirst ()Ucword ()
Text HTML tag handler function
NL2BR ()Htmllentities ()Htmlspecialchars
Case-sensitive conversion functions
Strtolower ()Strtoupper ()Ucfirst ()Ucword ()
Text HTML Tag processing function
Nl2br ()Htmllentities ()Htmlspecialchars ()Stripslashes ()Strip_tags ()Number_format ()Strrev ()MD5 ()
// Convert to lowercase$ A =
Php built-in function examples
Strtolower ()
Strtoupper ()
Ucfirst ()
Ucword ()
Text html tag processing function
Nl2br ()Htmllentities ()Htmlspecialchars ()Stripslashes ()Strip_tags ()Number_format ()Strrev ()Md5 ()
// Convert to lowercase$
As the name implies, loaders are loaded elements, when using CI, often loaded with:
$this->load->library ()$this->load->view ()$this->load->model ()$this->load->database ()$this->load->helper ()$this->load->config ()$this->load->add_package_path ()
Use PHP to convert an underscore-delimited string into a camel-named style and capitalize the first letter after the underscore
Recent projects using the Symfony framework, this framework for the operation of the database in this team using ORM to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.